package com.ggj.business.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 订单商品表
 * </p>
 *
 * @author lu
 * @since 2017-03-16
 */
@TableName("order_product")
public class OrderProduct implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单商品id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 订单id
     */
	@TableField("order_id")
	private Integer orderId;
    /**
     * 商品id
     */
	@TableField("product_id")
	private Integer productId;
    /**
     * 商品数量
     */
	@TableField("product_count")
	private Integer productCount;
    /**
     * 小型图片访问URL
     */
	@TableField("small_image")
	private String smallImage;
    /**
     * 中型图片访问URL
     */
	@TableField("medium_image")
	private String mediumImage;
    /**
     * 短名称
     */
	@TableField("short_name")
	private String shortName;
    /**
     * 合伙人分销价
     */
	@TableField("partner_distribution_price")
	private Float partnerDistributionPrice;
    /**
     * 客服调整数量，负数为减，正数为加
     */
	@TableField("adjust_count")
	private Integer adjustCount;
    /**
     * 单位商品成本
     */
	private Float cost;
    /**
     * 商家每订单运费加权平均值
     */
	@TableField("freight_price")
	private Float freightPrice;
    /**
     * 销售价
     */
	@TableField("sales_price")
	private Float salesPrice;
    /**
     * 税费
     */
	@TableField("duty_price")
	private Float dutyPrice;
    /**
     * 订单商品活动状态，0：无活动，1：积分换购，2：满减，3：N元任选，4：格格福利团
     */
	private Integer status;
    /**
     * 是否团购商品；0：否，1：是
     */
	@TableField("is_group")
	private Integer isGroup;
    /**
     * 团购价
     */
	@TableField("group_price")
	private Float groupPrice;
    /**
     * 团购商品口令Id
     */
	@TableField("group_product_code_id")
	private Integer groupProductCodeId;
    /**
     * 返利网返点
     */
	@TableField("commission_num")
	private Float commissionNum;
    /**
     * 商品分摊到的实付价乘以返点
     */
	@TableField("commission_money")
	private Float commissionMoney;
    /**
     * 清关价格
     */
	@TableField("customs_clearance_price")
	private Float customsClearancePrice;
    /**
     * 清关税费
     */
	@TableField("customs_clearance_taxes")
	private Float customsClearanceTaxes;
    /**
     * 清关税率
     */
	@TableField("customs_clearance_rate")
	private Float customsClearanceRate;
    /**
     * 满减活动优惠总金额
     */
	@TableField("manjian_reduce_price")
	private Float manjianReducePrice;
    /**
     * N元任选活动优惠总金额
     */
	@TableField("part_reduce_price")
	private Float partReducePrice;
    /**
     * 优惠券优惠总金额
     */
	@TableField("coupon_reduce_price")
	private Float couponReducePrice;
    /**
     * 积分优惠总金额
     */
	@TableField("point_reduce_price")
	private Float pointReducePrice;
    /**
     * 格粉卡优惠总金额
     */
	@TableField("club_card_reduce_price")
	private Float clubCardReducePrice;
    /**
     * 这个商品实付总金额
     */
	@TableField("real_price")
	private Float realPrice;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Integer getProductId() {
		return productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Integer getProductCount() {
		return productCount;
	}

	public void setProductCount(Integer productCount) {
		this.productCount = productCount;
	}

	public String getSmallImage() {
		return smallImage;
	}

	public void setSmallImage(String smallImage) {
		this.smallImage = smallImage;
	}

	public String getMediumImage() {
		return mediumImage;
	}

	public void setMediumImage(String mediumImage) {
		this.mediumImage = mediumImage;
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public Float getPartnerDistributionPrice() {
		return partnerDistributionPrice;
	}

	public void setPartnerDistributionPrice(Float partnerDistributionPrice) {
		this.partnerDistributionPrice = partnerDistributionPrice;
	}

	public Integer getAdjustCount() {
		return adjustCount;
	}

	public void setAdjustCount(Integer adjustCount) {
		this.adjustCount = adjustCount;
	}

	public Float getCost() {
		return cost;
	}

	public void setCost(Float cost) {
		this.cost = cost;
	}

	public Float getFreightPrice() {
		return freightPrice;
	}

	public void setFreightPrice(Float freightPrice) {
		this.freightPrice = freightPrice;
	}

	public Float getSalesPrice() {
		return salesPrice;
	}

	public void setSalesPrice(Float salesPrice) {
		this.salesPrice = salesPrice;
	}

	public Float getDutyPrice() {
		return dutyPrice;
	}

	public void setDutyPrice(Float dutyPrice) {
		this.dutyPrice = dutyPrice;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getIsGroup() {
		return isGroup;
	}

	public void setIsGroup(Integer isGroup) {
		this.isGroup = isGroup;
	}

	public Float getGroupPrice() {
		return groupPrice;
	}

	public void setGroupPrice(Float groupPrice) {
		this.groupPrice = groupPrice;
	}

	public Integer getGroupProductCodeId() {
		return groupProductCodeId;
	}

	public void setGroupProductCodeId(Integer groupProductCodeId) {
		this.groupProductCodeId = groupProductCodeId;
	}

	public Float getCommissionNum() {
		return commissionNum;
	}

	public void setCommissionNum(Float commissionNum) {
		this.commissionNum = commissionNum;
	}

	public Float getCommissionMoney() {
		return commissionMoney;
	}

	public void setCommissionMoney(Float commissionMoney) {
		this.commissionMoney = commissionMoney;
	}

	public Float getCustomsClearancePrice() {
		return customsClearancePrice;
	}

	public void setCustomsClearancePrice(Float customsClearancePrice) {
		this.customsClearancePrice = customsClearancePrice;
	}

	public Float getCustomsClearanceTaxes() {
		return customsClearanceTaxes;
	}

	public void setCustomsClearanceTaxes(Float customsClearanceTaxes) {
		this.customsClearanceTaxes = customsClearanceTaxes;
	}

	public Float getCustomsClearanceRate() {
		return customsClearanceRate;
	}

	public void setCustomsClearanceRate(Float customsClearanceRate) {
		this.customsClearanceRate = customsClearanceRate;
	}

	public Float getManjianReducePrice() {
		return manjianReducePrice;
	}

	public void setManjianReducePrice(Float manjianReducePrice) {
		this.manjianReducePrice = manjianReducePrice;
	}

	public Float getPartReducePrice() {
		return partReducePrice;
	}

	public void setPartReducePrice(Float partReducePrice) {
		this.partReducePrice = partReducePrice;
	}

	public Float getCouponReducePrice() {
		return couponReducePrice;
	}

	public void setCouponReducePrice(Float couponReducePrice) {
		this.couponReducePrice = couponReducePrice;
	}

	public Float getPointReducePrice() {
		return pointReducePrice;
	}

	public void setPointReducePrice(Float pointReducePrice) {
		this.pointReducePrice = pointReducePrice;
	}

	public Float getClubCardReducePrice() {
		return clubCardReducePrice;
	}

	public void setClubCardReducePrice(Float clubCardReducePrice) {
		this.clubCardReducePrice = clubCardReducePrice;
	}

	public Float getRealPrice() {
		return realPrice;
	}

	public void setRealPrice(Float realPrice) {
		this.realPrice = realPrice;
	}

}
